
from appium_practice.PO_MODE.page.basepage import CommonBasePage


class MainPage(CommonBasePage):
    def goto_address_members_page(self):
        """
        跳转到通讯录
        :return:
        """
        self.find_app_element_and_click(('XPATH',"//android.widget.TextView[@text='通讯录']"))
        from appium_practice.PO_MODE.page.addresspage import AddressPage
        return AddressPage(self.appium_driver)
    def back_address_members_page_from_find_page(self):
        pass